package org.zjx.action;

import com.alibaba.fastjson2.JSONObject;
import com.alibaba.fastjson2.annotation.JSONField;

public interface IAction {
    @JSONField(serialize = false)
    ActionType getActionType();

    @JSONField(serialize = false)
    long getTimestamp();

    JSONObject toJson();

    void validate();
}
